package day60;

public enum StatusEnum {
	// The constructor StatusEnum(int) is undefined
	SHANG_JIA(1, "上架"),XIA_JIA(0, "下架");
	
	int key;
	String value;
	
	private StatusEnum(int key, String value) {
		this.key = key;
		this.value = value;
	}
	
	public String getValue() {
		return value;
	}
	
	public int getKey() {
		return key;
	}

}
